

namespace NodeBasedSkillEditor.Model.Node.RT
{
    public class Node_PassThrough_RT : RT_Node
    {
        public RT_FlowPort FlowIn_RT;

        public RT_FlowPort FlowOut_RT;

        public Node_PassThrough_RT(Node_PassThrough sourceData, RT_DAG parentDag) : base(sourceData, parentDag)
        {
            FlowIn_RT = new RT_FlowPort(EPortIOType.Input, sourceData.FlowIn, this);

            FlowOut_RT = new RT_FlowPort(EPortIOType.Output, sourceData.FlowOut, this);
        }

        public override (EDagExeState, RT_Node) ForewardExecute(DAG_Executor executor)
        {
            return TryForewardByPort(FlowOut_RT);
        }

    }
}